package com.woniu51.order;

import com.woniu.common.core.redis.RedisCache;
import com.woniu.common.exception.GlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author 杨光
 * @date 2022年04月08日 15:02
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.woniu51.order.mapper"})
@EnableFeignClients(basePackages = {"com.woniu.cinema.api"})
@Import(value = {RedisCache.class, GlobalExceptionHandler.class})
public class OrderApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderApp.class,args);
    }
}
